﻿using System;
using System.Runtime.InteropServices;

namespace Microsoft.Windows.UserControls.Core.Win32
{
    internal class NativeMethods
    {
        internal const Int32 GWL_STYLE = -16;
        
        internal const Int32 WS_MAXIMIZEBOX = 0x00010000;
        
        internal const Int32 WS_MINIMIZEBOX = 0x00020000;

        internal const int WS_SYSMENU = 0x80000;
 
        [DllImport("User32.dll", EntryPoint = "GetWindowLong")]
        internal extern static Int32 GetWindowLongPtr(IntPtr hWnd, Int32 nIndex);
 
        [DllImport("User32.dll", EntryPoint = "SetWindowLong")]
        internal extern static Int32 SetWindowLongPtr(IntPtr hWnd, Int32 nIndex, Int32 dwNewLong);
    }
}